<?php foreach($model as $category):?>
<p><?php echo $category->name?></p>
<?php endforeach;?>